from flask import Flask
from models import *
from vews.user import user

app = Flask(__name__)

app.config.from_pyfile("config.py")

app.register_blueprint(user)

db.init_app(app)

@app.route('/')
def hello_world():
    return 'Hello World!'


if __name__ == '__main__':
    app.run()
